package com.gitee.feizns.quickstart.mybatis.plus.plugins.inner.autofill.annotation;

import com.gitee.feizns.quickstart.mybatis.plus.plugins.inner.autofill.AutoFillNowStrategy;
import com.gitee.feizns.quickstart.mybatis.plus.plugins.inner.autofill.AutoFillStrategy;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * 填充字段为当前时间
 * @see AutoFill
 * @see AutoFillStrategy
 * @see AutoFillNowStrategy
 * @author feizns
 * @since 2023/3/4
 */
@AutoFill(AutoFillNowStrategy.class)
@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.FIELD)
public @interface Now {
}
